#!/bin/bash

while true; do

	x=$(systemctl is-active kubelet)
	if [ "$x" == "inactive" ]; then
		echo "Failed"
	else
	       echo "success"	
	fi

	sleep 1
done
